package com.punai.customer.domain;

import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 版本信息差异对象 sta_versions_discrepancy
 *
 * @author zxw
 * @date 2022-12-13
 */
public class CusVersionsDiscrepancy extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    private Long companyId;

    /**
     * 发布类别(GX,CL,JX)
     */
    @Excel(name = "发布类别(GX,CL,JX)")
    private String publishType;

    /**
     * 数据来源(工序费用项、工序章节、特征...)
     */
    @Excel(name = "数据来源(工序费用项、工序章节、特征...)")
    private String tableName;

    @Excel(name = "专业")
    private String specId;

    /**
     * 摘要名称
     */
    @Excel(name = "摘要名称")
    private String tableDescription;

    private String abstractName;

    /**
     * 改变类型(I,U,D)
     */
    @Excel(name = "改变类型(I,U,D)")
    private String operateType;

    /**
     * 改变明细详细改变的内容)
     */
    @Excel(name = "改变明细详细改变的内容)")
    private String targetId;

    /**
     * 版本id(这些数据会对哪个版本数据进行改变)
     */
    @Excel(name = "版本id(这些数据会对哪个版本数据进行改变)")
    private String versionsId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public void setPublishType(String publishType) {
        this.publishType = publishType;
    }

    public String getPublishType() {
        return publishType;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableDescription() {
        return tableDescription;
    }

    public void setTableDescription(String tableDescription) {
        this.tableDescription = tableDescription;
    }

    public String getAbstractName() {
        return abstractName;
    }

    public void setAbstractName(String abstractName) {
        this.abstractName = abstractName;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }

    public String getOperateType() {
        return operateType;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public void setVersionsId(String versionsId) {
        this.versionsId = versionsId;
    }

    public String getVersionsId() {
        return versionsId;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("publishType", getPublishType())
                .append("tableName", getTableName())
                .append("tableDescription", getTableDescription())
                .append("operateType", getOperateType())
                .append("targetId", getTargetId())
                .append("versionsId", getVersionsId())
                .append("createTime", getCreateTime())
                .toString();
    }
}
